:host {
    overflow: hidden;
}

header {
    width: 100%;
    height: 55px;
    background-color: #008184;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;

    button {
        margin-right: 10px;
        background-color: #48c2c4;
        color: #008184;
        border: none;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;

        i {
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
        }

        &.active {
            background-color: #05b0b3;
            color: #ffffff;
        }

        &:hover {
            background-color: #05b0b3;
            color: #ffffff;
        }
    }

    nz-select {
        margin-right: 20px;
        color: #065f60;

        ::ng-deep {
            .ant-select-selector {
                background-color: #48c2c4;
                border: none;
            }
        }
    }

    nz-divider {
        margin-right: 20px;
        margin-left: 10px;
    }

    >div {
        display: flex;
        align-items: center;
    }

}

.blockly-box {
    height: calc(100% - 55px);
}

.right-box {
    position: absolute;
    right: 0;
    top: 0;
    width: 500px;
    height: 100%;
    z-index: 999;
    box-shadow: 0 0 20px #CCC;
    background-color: #1f1f1f;
    color: #FFF;
    font-size: 16px;

    .right-header {
        height: 55px;
        width: 100%;
        background-color: #1f1f1f;
        display: flex;
        align-items: center;
        z-index: 999;

        i {
            width: 60px;
            font-size: 30px;
            color: #ccc;
            cursor: pointer;

            &:hover {
                color: #FFF;
            }
        }
    }

    .right-content {
        position: relative;
        height: calc(100% - 55px);
    }

}

.lib-manager-btn {
    transition: all 0.3s;
    color: #333;
    background: #999;
    cursor: pointer;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;

    i {
        margin-left: -3px;
        margin-right: 5px;
    }

    &:hover {
        color: #FFF;
        background: #aaa;
    }
}

.manager-box {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999;
}


.update-box {
    width: 360px;
    height: 120px;
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #FFF;
    box-shadow: 0 0 10px #CCC;
    z-index: 9999;
    padding: 15px;

    .btn-box {
        position: absolute;
        bottom: 15px;
        right: 15px;

        button {
            margin-left: 15px;
        }
    }
}